Tables [dbo].[Product_Substitute]
Properties
PropertyValue
HeapYes
Row Count0
Created3:13:08 PM Friday, January 07, 2011
Last Modified11:40:06 AM Monday, February 20, 2012
Columns
NameData TypeMax Length (Bytes)Allow NullsDefault
Indexes iProduct_SubstitutePRODUCT_COD: PRODUCT_CODEPRODUCT_CODEvarchar(15)15
No
('')
Indexes iProduct_SubstituteSUB_PRODUCT: SUB_PRODUCT_CODESUB_PRODUCT_CODEvarchar(15)15
No
('')
Indexes iProduct_SubstituteSUBSTITUTE_: SUBSTITUTE_TYPESUBSTITUTE_TYPEvarchar(1)1
No
('')
Indexes iProduct_SubstituteSEQN: SEQNSEQNint4
No
((0))
TIME_STAMPtimestamp8
Yes
Indexes Indexes
NameColumns
iProduct_SubstitutePRODUCT_CODPRODUCT_CODE
iProduct_SubstituteSEQNSEQN
iProduct_SubstituteSUB_PRODUCTSUB_PRODUCT_CODE
iProduct_SubstituteSUBSTITUTE_SUBSTITUTE_TYPE
Permissions
TypeActionOwning Principal
GrantDeleteIMIS
GrantInsertIMIS
GrantReferencesIMIS
GrantSelectIMIS
GrantUpdateIMIS
SQL Script
CREATE TABLE [dbo].[Product_Substitute]
(
[PRODUCT_CODE] [varchar] (15) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL CONSTRAINT [DF_Product_Substitute_PRODUCT_CODE] DEFAULT (''),
[SUB_PRODUCT_CODE] [varchar] (15) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL CONSTRAINT [DF_Product_Substitute_SUB_PRODUCT_CODE] DEFAULT (''),
[SUBSTITUTE_TYPE] [varchar] (1) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL CONSTRAINT [DF_Product_Substitute_SUBSTITUTE_TYPE] DEFAULT (''),
[SEQN] [int] NOT NULL CONSTRAINT [DF_Product_Substitute_SEQN] DEFAULT ((0)),
[TIME_STAMP] [timestamp] NULL
) ON [PRIMARY]

GO
CREATE NONCLUSTERED INDEX [iProduct_SubstitutePRODUCT_COD] ON [dbo].[Product_Substitute] ([PRODUCT_CODE]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [iProduct_SubstituteSEQN] ON [dbo].[Product_Substitute] ([SEQN]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [iProduct_SubstituteSUB_PRODUCT] ON [dbo].[Product_Substitute] ([SUB_PRODUCT_CODE]) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [iProduct_SubstituteSUBSTITUTE_] ON [dbo].[Product_Substitute] ([SUBSTITUTE_TYPE]) ON [PRIMARY]
GO
GRANT REFERENCES ON  [dbo].[Product_Substitute] TO [IMIS]
GRANT SELECT ON  [dbo].[Product_Substitute] TO [IMIS]
GRANT INSERT ON  [dbo].[Product_Substitute] TO [IMIS]
GRANT DELETE ON  [dbo].[Product_Substitute] TO [IMIS]
GRANT UPDATE ON  [dbo].[Product_Substitute] TO [IMIS]
GO
Uses
Used By